package Proyecto.Modelo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the clientegusto database table.
 * 
 */
@Entity
@Table(name="clientegusto")
public class Clientegusto implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int idClienteGusto;

	private String accion;

	private String animado;

	private String aventuras;

	private String comedia;

	private String drama;

	private String ficcion;

	private String policiales;

	private String romance;

	private String suspenso;

	private String terror;

	//bi-directional many-to-many association to Cliente
    @ManyToMany
	@JoinTable(
		name="clientegusto_has_cliente"
		, joinColumns={
			@JoinColumn(name="ClienteGusto_idClienteGusto")
			}
		, inverseJoinColumns={
			@JoinColumn(name="Cliente_idCliente")
			}
		)
	private Set<Cliente> clientes;

    public Clientegusto() {
    }

	public int getIdClienteGusto() {
		return this.idClienteGusto;
	}

	public void setIdClienteGusto(int idClienteGusto) {
		this.idClienteGusto = idClienteGusto;
	}

	public String getAccion() {
		return this.accion;
	}

	public void setAccion(String accion) {
		this.accion = accion;
	}

	public String getAnimado() {
		return this.animado;
	}

	public void setAnimado(String animado) {
		this.animado = animado;
	}

	public String getAventuras() {
		return this.aventuras;
	}

	public void setAventuras(String aventuras) {
		this.aventuras = aventuras;
	}

	public String getComedia() {
		return this.comedia;
	}

	public void setComedia(String comedia) {
		this.comedia = comedia;
	}

	public String getDrama() {
		return this.drama;
	}

	public void setDrama(String drama) {
		this.drama = drama;
	}

	public String getFiccion() {
		return this.ficcion;
	}

	public void setFiccion(String ficcion) {
		this.ficcion = ficcion;
	}

	public String getPoliciales() {
		return this.policiales;
	}

	public void setPoliciales(String policiales) {
		this.policiales = policiales;
	}

	public String getRomance() {
		return this.romance;
	}

	public void setRomance(String romance) {
		this.romance = romance;
	}

	public String getSuspenso() {
		return this.suspenso;
	}

	public void setSuspenso(String suspenso) {
		this.suspenso = suspenso;
	}

	public String getTerror() {
		return this.terror;
	}

	public void setTerror(String terror) {
		this.terror = terror;
	}

	public Set<Cliente> getClientes() {
		return this.clientes;
	}

	public void setClientes(Set<Cliente> clientes) {
		this.clientes = clientes;
	}
	
}